package com.yanqu.road.entity.activity.channelmusicroomrank;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_c_ch_music_room_rank_show", desc = "跨域妙音坊冲榜 参赛数据")
public class CrossChannelMusicRoomRankShowData extends DataObject {
    @FieldTypeAnnotation(desc = "活动id", select = true, update = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "轮次", update = true)
    private int round;
    @FieldTypeAnnotation(desc = "玩家id", update = true)
    private long userId;
    @FieldTypeAnnotation(desc = "美女id", update = true)
    private int beautyId;
    @FieldTypeAnnotation(desc = "皮肤id", update = true)
    private int skinId;
    @FieldTypeAnnotation(desc = "参赛属性")
    private List<Long> attrList = new ArrayList<>();
    @FieldTypeAnnotation(desc = "时辰卡累计数")
    private int cardAmount;
    @FieldTypeAnnotation(desc = "演出积分")
    private long showScore;
    @FieldTypeAnnotation(desc = "参赛时间")
    private long joinTime;
    @FieldTypeAnnotation(desc = "参赛位置")
    private int joinPos;
    @FieldTypeAnnotation(desc = "排名")
    private int rank;
    @FieldTypeAnnotation(desc = "获得的榜单分")
    private long rankScore;
    @FieldTypeAnnotation(desc = "是否消耗道具参赛")
    private int costType;
    @FieldTypeAnnotation(desc = "加成获得的积分")
    private long buffAddScore;

    public CrossChannelMusicRoomRankShowData() {
    }

    public CrossChannelMusicRoomRankShowData(int activityId, int round, long userId, int beautyId, int skinId, int costType) {
        this.activityId = activityId;
        this.round = round;
        this.userId = userId;
        this.beautyId = beautyId;
        this.skinId = skinId;
        this.costType = costType;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getBeautyId() {
        return beautyId;
    }

    public void setBeautyId(int beautyId) {
        this.beautyId = beautyId;
    }

    public int getSkinId() {
        return skinId;
    }

    public void setSkinId(int skinId) {
        this.skinId = skinId;
    }


    public long getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(long joinTime) {
        this.joinTime = joinTime;
        setUpdateOption();
    }

    public int getJoinPos() {
        return joinPos;
    }

    public void setJoinPos(int joinPos) {
        this.joinPos = joinPos;
        setUpdateOption();
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
        setUpdateOption();
    }

    public int getCardAmount() {
        return cardAmount;
    }

    public void setCardAmount(int cardAmount) {
        this.cardAmount = cardAmount;
        setUpdateOption();
    }

    public long getShowScore() {
        return showScore;
    }

    public void setShowScore(long showScore) {
        this.showScore = showScore;
        setUpdateOption();
    }

    public List<Long> getAttrList() {
        return attrList;
    }

    public void setAttrList(List<Long> attrList) {
        this.attrList = attrList;
        setUpdateOption();
    }

    public long getRankScore() {
        return rankScore;
    }

    public void setRankScore(long rankScore) {
        this.rankScore = rankScore;
        setUpdateOption();
    }

    public int getCostType() {
        return costType;
    }

    public void setCostType(int costType) {
        this.costType = costType;
    }

    public long getBuffAddScore() {
        return buffAddScore;
    }

    public void setBuffAddScore(long buffAddScore) {
        this.buffAddScore = buffAddScore;
    }
}
